2005-12-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystemunix.c (cb_fill_in_mime_type): Fix a C99ism,
spotted by Crispin Flowerday.
+2005-12-07 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilesystemunix.c (cb_fill_in_mime_type): Fix a C99ism,
+ spotted by Crispin Flowerday.
+
2005-12-06 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtksettings.c (settings_update_font_options): Turn metrics
+2005-12-07 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilesystemunix.c (cb_fill_in_mime_type): Fix a C99ism,
+ spotted by Crispin Flowerday.
+
2005-12-06 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtksettings.c (settings_update_font_options): Turn metrics
GtkFileFolderUnix *folder_unix = user_data;
char *fullname = g_build_filename (folder_unix->filename, basename, NULL);
struct stat *statbuf = NULL;
+ const char *mime_type;
if (folder_unix->have_stat)
statbuf = &entry->statbuf;
- const char *mime_type = xdg_mime_get_mime_type_for_file (fullname, statbuf);
+ mime_type = xdg_mime_get_mime_type_for_file (fullname, statbuf);
entry->mime_type = g_strdup (mime_type);
g_free (fullname);
- /* FIXME: free on NULL? */
+
return FALSE;
}